import { createRouter, createWebHistory } from 'vue-router'
// 公开路由
import { publicRoures } from './public-routes'
// 私有路由
import { privateRoures } from './private-routes'

const router = createRouter({
  history: createWebHistory(),
  routes: [...publicRoures, ...privateRoures] // 做路由权限的时候 删除 ...privateRoutes
})

export default router
